package com.yuxi.Dao.Impl;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.yuxi.Dao.InformationMapPersonDao;
import com.yuxi.Entity.InformationFlow;
import com.yuxi.Entity.InformationMapPerson;

@Repository
public class InformationMapPersonDaoImpl  extends BaseDaoImpl<Serializable, Serializable> implements InformationMapPersonDao{
	private Logger logger=LoggerFactory.getLogger(InformationMapPersonDaoImpl.class);
	public InformationMapPersonDaoImpl(){
		super(InformationMapPerson.class);
	}
	@Override
	public InformationMapPerson getSortByInfoId(Integer id) {
		// TODO Auto-generated method stub
		return (InformationMapPerson) super.get(id);
	}
	@Override
	public InformationMapPerson addSort(InformationMapPerson person) {
		// TODO Auto-generated method stub
		return (InformationMapPerson) super.addAndReturn(person);
	}

	@Override
	public void modify(InformationMapPerson person) {
		// TODO Auto-generated method stub
		super.update(person);
	}

	@Override
	public void deleteSort(InformationMapPerson person) {
		// TODO Auto-generated method stub
		super.delete(person);
	}

}
